package www.com.library.util;

import android.os.StrictMode;

import www.com.common.library.BuildConfig;

/**
 *
 * Created by hubble on 2017/4/11.
 */

public class DebugUtil {
    private final static boolean ANR_DEBUG = true;

    public static void anr_debug() {
        if (ANR_DEBUG) {
            StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()
                    .detectAll()
                    .penaltyLog()
                    .build());
        }
    }
}
